package org.custom.spring.boot.datasource.constant;

/**
 * RestTemplate相关常量
 *
 * @author 李坤
 * @date 2022/3/31 17:37
 */
public interface HttpConstant {

    /**
     * 请求方式
     */
    interface RequestType {
        /**
         * GET 请求
         */
        String GET = "GET";

        /**
         * PUT 请求
         */
        String PUT = "PUT";

        /**
         * POST 请求
         */
        String POST = "POST";

        /**
         * HEAD 请求
         */
        String HEAD = "HEAD";

        /**
         * PATCH 请求
         */
        String PATCH = "PATCH";

        /**
         * TRACE 请求
         */
        String TRACE = "TRACE";

        /**
         * DELETE 请求
         */
        String DELETE = "DELETE";

        /**
         * OPTIONS 请求
         */
        String OPTIONS = "OPTIONS";
    }

}
